package com.tjhk.design;

public class PreSingleton {
    private final static PreSingleton instance = new PreSingleton();
    private PreSingleton() {
    }

    public static PreSingleton getInstance(){
        return instance;
    }

    public void print(){
        System.out.println("单例模式");
    }
}
